package com.swh.qa.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description tb_pl实体类
 * @author dullwolf
 * @date 2021-01-12 12:00:47
 */
@Entity
@Table(name="tb_pl")
@IdClass(Pl.class) // 联合主键所在类
public class Pl implements Serializable{

	@Id
	private String problemid;//主键ID

	@Id
	private String labelid;


	public String getProblemid() {
		return this.problemid;
	}

	public void setProblemid(String aValue) {
		this.problemid = aValue;
	}

	public String getLabelid() {
		return labelid;
	}

	public void setLabelid(String labelid) {
		this.labelid = labelid;
	}

	public Pl() {
	}

	public Pl(String problemid, String labelid) {
		this.problemid = problemid;
		this.labelid = labelid;
	}
}



